package com.colin.dubbo.annotation;

import com.colin.dubbo.enums.MethodEnum;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.stereotype.Component;

/**
 * 策略路由注解
 * 包含spring注入注解@Component
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface MethodName {

    MethodEnum method();
    
}
